
class AlertEventModel{
  bool? alert;
  String? alertAt;
  String? alertName;
  String? alertTypeName;
  String? reason;

  AlertEventModel.fromJson(Map<String, dynamic> json) {
    alert = json['alert'];
    alertAt = json['alertAt'];
    alertName = json['alertName'];
    alertTypeName = json['alertTypeName'];
    reason = json['reason'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = Map<String, dynamic>();
    data['alert'] = alert;
    data['alertAt'] = alertAt;
    data['alertName'] = alertName;
    data['alertTypeName'] = alertTypeName;
    data['reason'] = reason;
    return data;
  }
}